package com.glela.domain.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class RedPacketShareHistResponseVo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8865178211158702277L;
	
	private int total;
	private BigDecimal totalAmount;
	private List<RedPacketShareHistVo> redPacketShareHistList;
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(BigDecimal totalAmount) {
		if(totalAmount != null){
			if(totalAmount.compareTo(new BigDecimal(0)) > 0){
				totalAmount = totalAmount.divide(BigDecimal.valueOf(100));
			}
		}
		this.totalAmount = totalAmount;
	}
	public List<RedPacketShareHistVo> getRedPacketShareHistList() {
		return redPacketShareHistList;
	}
	public void setRedPacketShareHistList(List<RedPacketShareHistVo> redPacketShareHistList) {
		this.redPacketShareHistList = redPacketShareHistList;
	}
	
	
	
	
}
